package com.nan.hrm.service;

import com.nan.hrm.domain.Course;
import com.baomidou.mybatisplus.service.IService;
import com.nan.hrm.dto.CourseAddDto;
import com.nan.hrm.util.AjaxResult;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author N
 * @since 2021-09-14
 */
public interface ICourseService extends IService<Course> {

    AjaxResult save(CourseAddDto courseAddDto);

    AjaxResult onLineCourse(Long id);

    AjaxResult offLineCourse(Long id);
}
